#!/bin/sh  /etc/rc.common
START=90

USE_PROCD=1
NAME=detect_line.lua
PROG=/usr/sbin/detect_line.lua

start_service()
{
        config_load wan_backup
        config_get enable policy enable


if [ $enable  == "1" ]; then
    /usr/sbin/detect_line.lua &
fi
}

stop_service(){
        killall  -9  detect_line.lua

}

restart(){
    stop_service
    start_service
}

